home *** CD-ROM | disk | FTP | other *** search
/ Delphi 2.0 - Programmer's Utilities Power Pack / Delphi 2.0 Programmer's Utilities Power Pack.iso / m_to_r / prtrep41 / demo5.df_ / demo5.bin / demo5.txt
Encoding:
Text File  |  1996-09-15  |  5.1 KB  |  234 lines

  1. object Demo5Form: TDemo5Form
  2.   Left = 233
  3.   Top = 183
  4.   Width = 549
  5.   Height = 489
  6.   ActiveControl = Panel1
  7.   Caption = 'Demo5Form'
  8.   Font.Color = clBlack
  9.   Font.Height = -14
  10.   Font.Name = 'MS Sans Serif'
  11.   Font.Style = []
  12.   PixelsPerInch = 120
  13.   Position = poScreenCenter
  14.   OnCreate = FormCreate
  15.   TextHeight = 16
  16.   object Panel1: TPanel
  17.     Left = 0
  18.     Top = 0
  19.     Width = 541
  20.     Height = 89
  21.     Align = alTop
  22.     TabOrder = 0
  23.     object Label1: TLabel
  24.       Left = 84
  25.       Top = 16
  26.       Width = 357
  27.       Height = 24
  28.       Caption = 'TPrintGridReport Report Styles Demo'
  29.       Color = clBtnFace
  30.       Font.Color = clMaroon
  31.       Font.Height = -20
  32.       Font.Name = 'Arial'
  33.       Font.Style = [fsBold]
  34.       ParentColor = False
  35.       ParentFont = False
  36.     end
  37.     object Style1: TBitBtn
  38.       Left = 8
  39.       Top = 48
  40.       Width = 85
  41.       Height = 34
  42.       Caption = 'Style &1'
  43.       TabOrder = 0
  44.       OnClick = Style1Click
  45.     end
  46.     object Exit: TBitBtn
  47.       Left = 448
  48.       Top = 48
  49.       Width = 85
  50.       Height = 34
  51.       Caption = '&Exit'
  52.       ModalResult = 1
  53.       TabOrder = 1
  54.     end
  55.     object Style2: TBitBtn
  56.       Left = 96
  57.       Top = 48
  58.       Width = 85
  59.       Height = 34
  60.       Caption = 'Style &2'
  61.       TabOrder = 2
  62.       OnClick = Style2Click
  63.     end
  64.     object Style3: TBitBtn
  65.       Left = 184
  66.       Top = 48
  67.       Width = 85
  68.       Height = 34
  69.       Caption = 'Style &3'
  70.       TabOrder = 3
  71.       OnClick = Style3Click
  72.     end
  73.     object Style4: TBitBtn
  74.       Left = 272
  75.       Top = 48
  76.       Width = 85
  77.       Height = 34
  78.       Caption = 'Style &4'
  79.       TabOrder = 4
  80.       OnClick = Style4Click
  81.     end
  82.     object Style5: TBitBtn
  83.       Left = 360
  84.       Top = 48
  85.       Width = 85
  86.       Height = 34
  87.       Caption = 'Style &5'
  88.       TabOrder = 5
  89.       OnClick = Style5Click
  90.     end
  91.   end
  92.   object Panel2: TPanel
  93.     Left = 0
  94.     Top = 89
  95.     Width = 541
  96.     Height = 369
  97.     Align = alClient
  98.     BevelInner = bvLowered
  99.     BorderWidth = 4
  100.     Caption = 'Panel2'
  101.     TabOrder = 1
  102.     object DBGrid1: TDBGrid
  103.       Left = 6
  104.       Top = 6
  105.       Width = 529
  106.       Height = 357
  107.       Align = alClient
  108.       BorderStyle = bsNone
  109.       DataSource = DataSource1
  110.       Font.Color = clBlack
  111.       Font.Height = -13
  112.       Font.Name = 'Arial'
  113.       Font.Style = [fsItalic]
  114.       ParentFont = False
  115.       TabOrder = 0
  116.       TitleFont.Color = clBlack
  117.       TitleFont.Height = -14
  118.       TitleFont.Name = 'MS Sans Serif'
  119.       TitleFont.Style = []
  120.     end
  121.   end
  122.   object Query1: TQuery
  123.     Active = True
  124.     DatabaseName = 'DBDEMOS'
  125.     SQL.Strings = (
  126.       'Select'
  127.       '  parts."PartNo",'
  128.       '  parts."VendorNo",'
  129.       '  parts."Description",'
  130.       '  parts."OnHand",'
  131.       '  parts."OnOrder",'
  132.       '  parts."Cost",'
  133.       '  parts."ListPrice"'
  134.       'From "parts.db"'
  135.       'As parts'
  136.       'order by'
  137.       'VendorNo')
  138.     Left = 192
  139.     Top = 65525
  140.     object Query1PartNo: TFloatField
  141.       DisplayWidth = 7
  142.       FieldName = 'PartNo'
  143.     end
  144.     object Query1VendorNo: TFloatField
  145.       FieldName = 'VendorNo'
  146.       Visible = False
  147.     end
  148.     object Query1Description: TStringField
  149.       DisplayWidth = 23
  150.       FieldName = 'Description'
  151.       Size = 30
  152.     end
  153.     object Query1OnHand: TFloatField
  154.       DisplayWidth = 7
  155.       FieldName = 'OnHand'
  156.     end
  157.     object Query1OnOrder: TFloatField
  158.       DisplayWidth = 7
  159.       FieldName = 'OnOrder'
  160.     end
  161.     object Query1ListPrice: TCurrencyField
  162.       DisplayWidth = 9
  163.       FieldName = 'ListPrice'
  164.       DisplayFormat = '$ #,##0.00'
  165.       Currency = True
  166.     end
  167.     object Query1Cost: TCurrencyField
  168.       DisplayWidth = 6
  169.       FieldName = 'Cost'
  170.       DisplayFormat = '$ #,##0.00'
  171.       Currency = True
  172.     end
  173.   end
  174.   object DataSource1: TDataSource
  175.     DataSet = Query1
  176.     Left = 171
  177.     Top = 65529
  178.   end
  179.   object PrintGridReport1: TPrintGridReport
  180.     Brush.Style = bsCross
  181.     OutputTo = poViewer
  182.     Orientation = Default
  183.     ViewBkColor = clAqua
  184.     Units = poInches
  185.     ViewHeading = 'PrintIt! Viewer'
  186.     FooterFont.Color = clWindowText
  187.     FooterFont.Height = 12
  188.     FooterFont.Name = 'Arial'
  189.     FooterFont.Style = []
  190.     HeaderFont.Color = clWindowText
  191.     HeaderFont.Height = 16
  192.     HeaderFont.Name = 'Arial'
  193.     HeaderFont.Style = []
  194.     HeaderTop = '0.5'
  195.     HeaderLeft = '0.25'
  196.     HeaderStringLeft = 'Demo'
  197.     HeaderStringCenter = 'Page Header'
  198.     HeaderStringRight = 'PrintIt! '
  199.     HeaderEnabled = True
  200.     HeaderOutlined = True
  201.     HeaderFilled = False
  202.     FooterTop = '26'
  203.     FooterLeft = '0.25'
  204.     FooterString = 'Page Footer'
  205.     FooterEnabled = True
  206.     FooterOutlined = True
  207.     FooterFilled = False
  208.     DisableControls = True
  209.     BorderLeft = '0.25'
  210.     BorderRight = '0.25'
  211.     DateTimeStampEnabled = True
  212.     PageNumberEnabled = True
  213.     GridHeadingRow = '1'
  214.     GridHeadingCol = '0.25'
  215.     GridHeadingEnabled = True
  216.     GridHeadingOutlined = True
  217.     GridHeadingFilled = False
  218.     GridLines = True
  219.     LineSpacing = '1'
  220.     Grid = DBGrid1
  221.     GridMinWidth = True
  222.     GridCentered = True
  223.     GridPrintTotal = True
  224.     PrintSubTotals = True
  225.     FrameStyleLeft = frNone
  226.     FrameStyleTop = frDoubleThickThin
  227.     FrameStyleRight = frNone
  228.     FrameStyleBottom = frSingleThin
  229.     ReportStyle = rsOwn
  230.     Left = 132
  231.     Top = 65528
  232.   end
  233. end
  234.